/**
 * 
 */
package wdmsim;

/**
 * @author alissonslp
 *
 */
public final class Constants {

	//////////////////////////////////////////////////
	// Time
	//
	/** zero delay. */
	public static final long PROCESS_IMMEDIATELY = 0;
	/** smallest possible delay. */
	public static final int EPSILON_DELAY 		= 1;
	/** one micro-second in simulation time units. */
	public static final long MICRO_SECOND 		= 1;
	/** one milli-second in simulation time units. */
	public static final long MILLI_SECOND 		= 1000*MICRO_SECOND;
	/** one second in simulation time units. */
	public static final long SECOND       		= 1000*MILLI_SECOND;
	/** one minute in simulation time units. */
	public static final long MINUTE       		= 60*SECOND;
	/** one hour in simulation time units. */
	public static final long HOUR         		= 60*MINUTE;
	/** one day in simulation time units. */
	public static final long DAY          		= 24*HOUR;
	/** */
	public static long DOMAIN_PROCESSING_TIME	= 1*MILLI_SECOND;
	/** */
	public static long UPDATE_TIME 				= 30*SECOND;
	/** */
	public static long IN_UPDATE_TIME			= 5*DAY;
	
	//////////////////////////////////////////////////
	// others
	//
	/** Maximum number of crankback events */
	public static int CONECTION_TRIES = 4;
}
